home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17239 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.0 KB

  1. Path: newsbf02.news.aol.com!not-for-mail
  2. From: dogmat@aol.com (Dogmat)
  3. Newsgroups: comp.lang.java,comp.lang.c++,comp.lang.smalltalk
  4. Subject: Re: Will Java kill C++?
  5. Date: 14 Apr 1996 14:40:52 -0400
  6. Organization: America Online, Inc. (1-800-827-6364)
  7. Sender: root@newsbf02.news.aol.com
  8. Message-ID: <4krgrk$cit@newsbf02.news.aol.com>
  9. References: <3171397F.4C3F@ibm.net>
  10. Reply-To: dogmat@aol.com (Dogmat)
  11. NNTP-Posting-Host: newsbf02.mail.aol.com
  12.  
  13. Jan Steinman wrote:
  14. > Don't get me wrong, I'm one of the biggest ST fans around, but I
  15. wouldn't
  16. > suggest it for serious number-crunching, unless you're doing infinite
  17. > precision math, in which case it does okay -- not fabulous, but not bad.
  18.  
  19.  
  20. How serious is serious Jan? If I'm trying to predict the weather, I agree
  21. with you. However, the pure OOP capabilities of Smalltalk make it the best
  22. number-crunching language I've ever come across -- except FORTRAN, of
  23. course, but I had to give that up in the interests of programming in the
  24. long (i.e., still using my code 10 years from now). In Smalltalk, the
  25. Number class and the potential for extending it are absolute mental
  26. hard-ons.
  27.  
  28. Once again, for most of the applications developed, what really matters is
  29. not the speed of the executable, its the speed to develop, modify, and the
  30. ability to head off the wall of complexity. (Okay, speed matters when the
  31. run-time is pokey. It also matters when your spreadsheet is being sold to
  32. tens of millions of people.)
  33.  
  34. Finally, I took my old Fortran matrix inversion code and converted it to
  35. Smalltalk. I then ran a test problem from my old Numerical Methods Book
  36. (Carnahan, Luther Wilkes). They have a worked out long-hand  example where
  37. the values in the original matrix are Fractions and the inverted matrix
  38. are also Fractions. I ran this on Smalltalk and actually got back
  39. Fractions! Big deal? Yes, perhaps the most intensely profound programming
  40. result I've ever experienced. Sorry if this sounds wierd, but spend your
  41. life in Numerical Methods and Matrices and forever having to deal with
  42. roundoff and you would understand.
  43.